package com.fanqiechaodan.command;

/**
 * @author fanqiechaodan
 * @Classname Receiver
 * @Description 命令接收者
 */
public class Receiver {

    public void action1() {
        System.out.println("Receiver.action1() 被调用...");
    }

    public void action2() {
        System.out.println("Receiver.action2() 被调用...");
    }

    public void undoAction1(){
        System.out.println("Receiver.undoAction1() 被调用...");
    }

    public void undoAction2(){
        System.out.println("Receiver.undoAction2() 被调用...");
    }
}
